package com.a008cjx.myrecyclerview508cjx.service;

import com.a008cjx.myrecyclerview508cjx.bean.UserBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/5/28.
 */

public interface LoginService {
    @GET("api.php/login")
    Call<UserBean> getlogin(@Query("username") String username,
                         @Query("password") String password);

    //Call<UserBean> getlogin(String userName, String passWord);
}
